<!DOCTYPE html>
<html>
<head lang="en">
	<title>Spring Boot Demo - FreeMarker</title>
	
	<link href="/css/index.css" rel="stylesheet" />
	
</head>
<body>

	<script type="text/javascript" src="/webjars/jquery/2.1.4/jquery.min.js"></script>
	
	<script>
		$.ajax({
			url:"http://localhost:8081/api/get",
			type:"POST",
			data:{
			    name:"测试"
			},
			success:function (data,status,xhr) {
				console.log(data);
				alert(data.name);
            }
		})
	</script>
	<h1>点击测试</h1>
</body>
</html>
